<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title></title>
	<link href="../../assets/lib/layui/css/layui.css" rel="stylesheet" />
	<link href="../../assets/lib/winui/css/winui.css" rel="stylesheet" />
</head>
<body>
	<div style="margin:0 auto;padding:20px;">
		<form class="layui-form" action="" id="showForm" autocomplete="off">
			<div class="layui-form-item layui-col-xs12">
				<span class="hr-title">基本信息</span><hr>
			</div>
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">名称<i class="red">*</i></label>
				<div class="layui-input-block">
					<input type="text" id="name" name="name" win-verify="required" placeholder="请输入名称" class="layui-input"/>
				</div>
			</div>
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">布局类型<i class="red">*</i></label>
				<div class="layui-input-block">
					<select lay-filter="type" lay-search="" win-verify="required" id="type" name="type">
					</select>
				</div>
			</div>
			<div id="otherDom">

			</div>
			<div class="layui-form-item layui-col-xs12">
				<label class="layui-form-label">关联操作</label>
				<div class="layui-input-block" id="operateIdList">

				</div>
			</div>
			<div class="layui-form-item layui-col-xs12">
				<label class="layui-form-label">简介</label>
				<div class="layui-input-block">
					<textarea id="remark" name="remark" placeholder="请输入简介" class="layui-textarea"></textarea>
				</div>
			</div>
			<div class="layui-form-item layui-col-xs12">
				<span class="hr-title">请求事件</span><hr>
			</div>
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">所属服务<i class="red">*</i></label>
				<div class="layui-input-block">
					<select id="serviceStr" name="serviceStr" lay-filter="serviceStr" win-verify="required" lay-search=""></select>
				</div>
			</div>
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">接口地址<i class="red">*</i></label>
				<div class="layui-input-block">
					<input type="text" id="api" name="api" placeholder="请输入接口地址" win-verify="required" class="layui-input" maxlength="200"/>
					<div class="layui-form-mid layui-word-aux">该接口地址为数据保存的接口地址，如果不需要填写该接口，请填写：-</div>
				</div>
			</div>
			<div class="layui-form-item layui-col-xs6">
				<label class="layui-form-label">请求方式<i class="red">*</i></label>
				<div class="layui-input-block">
					<select id="method" name="method" lay-filter="method" win-verify="required" lay-search=""></select>
				</div>
			</div>
			<div class="layui-form-item layui-col-xs12">
				<div class="layui-input-block">
					<button class="winui-btn" id="cancle"><language showName="com.skyeye.cancel"></language></button>
					<button class="winui-btn" lay-submit lay-filter="formWriteBean"><language showName="com.skyeye.save"></language></button>
				</div>
			</div>
		</form>
	</div>
	<script src="../../assets/lib/layui/layui.js"></script>
	<script src="../../assets/lib/layui/custom.js"></script>
	<script type="text/javascript">
		layui.config({base: '../../js/dsFormPage/'}).use('writePage');
	</script>
</body>
</html>